<template>
  <div class="b-box">
    <div class="box">
      <el-carousel :interval="4000" type="card" height="300px">
        <el-carousel-item>
          <img src="../assets/images/01.png" alt="" />
          <h3 class="medium">11111</h3>
        </el-carousel-item>
        <el-carousel-item>
          <img src="../assets/images/02.png" alt="" />
          <h3 class="medium">22222</h3>
        </el-carousel-item>
        <el-carousel-item>
          <img src="../assets/images/03.png" alt="" />
          <h3 class="medium">33333</h3>
        </el-carousel-item>
        <el-carousel-item>
          <img src="../assets/images/04.png" alt="" />
          <h3 class="medium">44444</h3>
        </el-carousel-item>
        <el-carousel-item>
          <img src="../assets/images/05.png" alt="" />
          <h3 class="medium">55555</h3>
        </el-carousel-item>
      </el-carousel>
    </div>
  </div>
</template>

<style scoped lang="scss">
* {
  margin: 0;
  padding: 0;
}
.b-box {
  width: 1200px;
  margin: 0 auto;
  > span {
    font-size: 25px;
  }
}
.c-box {
  width: 100%;
  text-align: center;
  .d-box {
    display: flex;
    width: 1200px;
    justify-content: center;
    flex-direction: column;
  }
}
.box {
  width: 1200px;
  margin: 0 auto;

  hr {
    width: 1200px;
  }
}
.d-center {
  width: 100%;
  display: flex;
  justify-content: center;
  .o-center {
    width: 1200px;
    height: 130px;
    display: flex;
    .o-right {
      display: flex;
      flex-direction: column;
      width: 140px;
      .o-o {
        font-size: 20px;
        font-weight: 400;
      }
      .o-t {
        font-size: 12px;
      }
      .o-th {
        font-size: 10px;
      }
    }
    img {
      width: 100px;
      height: 130px;
    }
  }
}
</style>
<style>
/* .medium {
  width: 100px;
  height: 100px;
  font-size: 45px;
  color: black;
  border: 1px solid black;
} */
.el-carousel {
  width: 1200px;
  /* border: 1px solid black; */
}
.el-carousel__item {
  width: 600px;
}

.el-carousel__item h3 {
  color: #475669;
  font-size: 14px;
  opacity: 0.75;
  line-height: 200px;
  margin: 0;
}
.el-carousel__item img {
  height: 300px;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n + 1) {
  background-color: #d3dce6;
}
</style>
